<?php
	// basic security, ensure that this file has been included by a legitimate user.
	if(!isset(&$nohax)) { die('HAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAX!'); }
	
	// lets make a fancy error message function for the hell of it
	// it pains me to see such horrible HTML syntax ;-;
	function error ($title, $body) {
		die('	<!doctype html><html><head><title>Fatal Error!</title></head><body><h1>' . $title . '</h1>' . $body . '</body></html>');
	
	// parse the configuration
	include('parseconf.php');
	if(parseconf('../config.ini') = 0) {
		die('Configuration Error');
	}
	
	// okay so now that's out of the way, we might as well include the database
	include('../database/abstraction.inc.php');

?>